package com.itheima.Demo1recursion;

public class CruisionDemo
{
    public static void main(String[] args) {
        //认识递归
        print();
    }
    public static void print()
    {
        //直接递归 会出现死循环 导致栈溢出
        System.out.println("a执行了");
        print();
    }
}
